Page({
  data: {
    imageList3:[
    'cloud://cloud-0gcgpg1s3be0f7e5.636c-cloud-0gcgpg1s3be0f7e5-1311275034/图片/Up1.jpg',
    'cloud://cloud-0gcgpg1s3be0f7e5.636c-cloud-0gcgpg1s3be0f7e5-1311275034/图片/Up2.jpg',
    'cloud://cloud-0gcgpg1s3be0f7e5.636c-cloud-0gcgpg1s3be0f7e5-1311275034/图片/Up3.jpg',
  ],
  imageList33:[
    'cloud://cloud-0gcgpg1s3be0f7e5.636c-cloud-0gcgpg1s3be0f7e5-1311275034/图片/Up_class1.jpg',
    'cloud://cloud-0gcgpg1s3be0f7e5.636c-cloud-0gcgpg1s3be0f7e5-1311275034/图片/Up_class2.jpg',
    'cloud://cloud-0gcgpg1s3be0f7e5.636c-cloud-0gcgpg1s3be0f7e5-1311275034/图片/Up_class3.jpg',
    'https://636c-cloud-0gcgpg1s3be0f7e5-1311275034.tcb.qcloud.la/%E5%9B%BE%E7%89%87/%E6%8B%89%E4%B8%81%E8%88%9E_%E7%94%BB%E6%9D%BF%201%20%E5%89%AF%E6%9C%AC%2019.jpg?sign=bde6c501e7ddee9ee9edc2c0e94ff147&t=1652456900',
  ],
  markers: [{
    id: 0,
    name: "Up!Dance街舞工作室",
    address: "彭山区彭祖大道一段巨梁半岛",
    latitude: 30.209453,
    longitude: 103.873803,
    src: 'https://mapapi.qq.com/web/lbs/javascriptGL/demo/img/markerNew.png',
  }]
  },
  Call() {
    wx.makePhoneCall({
      phoneNumber: '17398899165'
    })
  },
  navRoad(event) {
    wx.getLocation({ //获取当前经纬度
      type: 'wgs84', //返回可以用于wx.openLocation的经纬度，
      success: function (res) {
        wx.openLocation({ //使用微信内置地图查看位置。
          latitude: event.currentTarget.dataset.marker.latitude, //要去的纬度-地址
          longitude: event.currentTarget.dataset.marker.longitude, //要去的经度-地址
          name: event.currentTarget.dataset.marker.name,
          address: event.currentTarget.dataset.marker.address
        })
      }
    })
  },

})